package com.taobao.txc.resourcemanager.mt;

import com.taobao.txc.common.b.c;
import java.lang.reflect.Method;
import java.lang.reflect.Type;

class b
{
  public Object a;
  public Method b;
  public Method c;
  
  public void a(String paramString1, long paramLong, String paramString2)
  {
    try
    {
      Object localObject = this.b.invoke(this.a, new Object[] { paramString1, Long.valueOf(paramLong), paramString2 });
      Type localType = this.b.getGenericReturnType();
      if ((localType.toString().compareTo("boolean") == 0) && (!((Boolean)localObject).booleanValue())) {
        throw new c("commit mq false");
      }
    }
    catch (Throwable localThrowable)
    {
      if ((localThrowable instanceof c)) {
        throw ((c)localThrowable);
      }
      throw new c(localThrowable);
    }
  }
  
  public void b(String paramString1, long paramLong, String paramString2)
  {
    try
    {
      this.c.invoke(this.a, new Object[] { paramString1, Long.valueOf(paramLong), paramString2 });
    }
    catch (Throwable localThrowable)
    {
      if ((localThrowable instanceof c)) {
        throw ((c)localThrowable);
      }
      throw new c(localThrowable);
    }
  }
}


/* Location:           C:\Users\ibm\Downloads\txc-yun-sample (1)\txc-yun-sample\lib\txc-client-2.0.72.jar
 * Qualified Name:     com.taobao.txc.resourcemanager.mt.b
 * JD-Core Version:    0.7.0.1
 */